package thread.test2;

public class RunableImpl implements Runnable {

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "=>实现run方法");
    }

    public static void main(String[] args) {
        RunableImpl runable = new RunableImpl();
        Thread t1 = new Thread(runable);
        Thread t2 = new Thread(runable);
        t1.start();
        t2.start();
    }
}
